<?php defined('_JEXEC') or die('Restricted access'); ?>

<?php JHTML::_('behavior.tooltip'); ?>

<?php
	$cid = JRequest::getVar( 'cid', array(0) );//获取页面变量
	
	JToolBarHelper::title( JText::_( '非法关键字字典' ) , 'inbox.png' );
	
		JToolBarHelper::cancel('cancel','退出');

	//JToolBarHelper::help( 'screen.users.edit' );
	//$cparams = JComponentHelper::getParams ('com_media');
?>


<script language="javascript" type="text/javascript">
	function submitbutton(pressbutton) {
		var form = document.adminForm;
		if (pressbutton == 'cancel') {
			submitform( pressbutton );
			return;
		}
		var r = new RegExp("[\<|\>|\"|\'|\%|\;|\(|\)|\&]", "i");

		// do field validation
		
			submitform( pressbutton );
		
	}

</script>
<form action="index.php" method="post" name="adminForm" autocomplete="off">
	<div class="col width-70">
		<fieldset class="adminform">
		<legend><?php echo JText::_( '非法关键字字典' ); ?></legend>
			<table class="admintable" cellspacing="1">
				<tr>
					<td>
						<?php echo $this->dictionary ;?> 
					</td>
				</tr>
			</table>
		</fieldset>
	</div>
	
	<div class="clr"></div>

	<input type="hidden" name="option" value="com_banwords" />
	<input type="hidden" name="task" value="" />
	<input type="hidden" name="contact_id" value="" />
	<?php echo JHTML::_( 'form.token' ); ?>
</form>
